{% extends "default.html" %}

{% load i18n %}

{% block title %}{% trans "FAQs" %}{% endblock %}

{% block page_content %}
<h1>{{ page_title }}</h1>
<p>
{% trans "Last updated on" %}: {{ updated_on|date:"M d, Y" }}
</p>

<h3>{% trans "Questions" %}</h3>

<ol>
{% for question in object_list %}

<li>
<a href="#{{ question.slug }}">{% autoescape off %}{{ question.text }}
{% endautoescape %}</a>
</li>

{% endfor %}
</ol>

<hr/>
<h3 style="margin-top: 50px">{% trans "Answers" %}</h3>

<ol style="margin-bottom: 800px">
{% for question in object_list %}
<li>
<a id="{{ question.slug }}">
{% autoescape off %}
<h3>{{ question.text }}</h3>
<p>
{{ question.answer }}
</p>
{% endautoescape %}
</li>
{% endfor %}
</ol>

{% endblock %}
